package com.ruoyi.merchant.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 店铺信息管理对象 shop
 * 
 * @author ruoyi
 * @date 2025-09-14
 */
public class Shop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 店名 */
    @Excel(name = "店名")
    private String sName;

    /** 经营区域 */
    @Excel(name = "经营区域")
    private String operatingArea;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date regTime;

    /** 开始营业时间 */
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "开始营业时间", width = 30, dateFormat = "HH:mm:ss")
    private String startTime;

    /** 停止营业时间 */
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "停止营业时间", width = 30, dateFormat = "HH:mm:ss")
    private String endTime;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String sAddress;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    /** 商家介绍 */
    @Excel(name = "商家介绍")
    private String description;

    /** 门店照片【缩略图】 */
    @Excel(name = "门店照片【缩略图】")
    private String sPhoto;

    /** 商家评分，默认值0 */
    @Excel(name = "商家评分，默认值0")
    private Double rate;

    /** 所属区域 */
    @Excel(name = "所属区域")
    private Integer sArea;

    /** 经营状态 (0:正常, 1:放假) */
    @Excel(name = "经营状态 (0:正常, 1:放假)")
    private Integer sStatus;

    /** 删除状态 (0:未删除, 1:已删除) */
    @Excel(name = "删除状态 (0:未删除, 1:已删除)")
    private Integer deleted;

    /** 审核状态 (0:待审核, 1:系统已审核, 2:已审核, 3:已拒绝) */
    @Excel(name = "审核状态 (0:待审核, 1:系统已审核, 2:已审核, 3:已拒绝)")
    private Integer auditStatusId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setSName(String sName) 
    {
        this.sName = sName;
    }

    public String getSName() 
    {
        return sName;
    }

    public void setOperatingArea(String operatingArea) 
    {
        this.operatingArea = operatingArea;
    }

    public String getOperatingArea() 
    {
        return operatingArea;
    }

    public void setRegTime(Date regTime) 
    {
        this.regTime = regTime;
    }

    public Date getRegTime() 
    {
        return regTime;
    }

    public void setStartTime(String startTime) 
    {
        this.startTime = startTime;
    }

    public String getStartTime() 
    {
        return startTime;
    }

    public void setEndTime(String endTime) 
    {
        this.endTime = endTime;
    }

    public String getEndTime() 
    {
        return endTime;
    }

    public void setSAddress(String sAddress) 
    {
        this.sAddress = sAddress;
    }

    public String getSAddress() 
    {
        return sAddress;
    }

    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }

    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setSPhoto(String sPhoto) 
    {
        this.sPhoto = sPhoto;
    }

    public String getSPhoto() 
    {
        return sPhoto;
    }

    public void setRate(Double rate) 
    {
        this.rate = rate;
    }

    public Double getRate() 
    {
        return rate;
    }

    public void setSArea(Integer sArea) 
    {
        this.sArea = sArea;
    }

    public Integer getSArea() 
    {
        return sArea;
    }

    public void setSStatus(Integer sStatus) 
    {
        this.sStatus = sStatus;
    }

    public Integer getSStatus() 
    {
        return sStatus;
    }

    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

    public void setAuditStatusId(Integer auditStatusId) 
    {
        this.auditStatusId = auditStatusId;
    }

    public Integer getAuditStatusId() 
    {
        return auditStatusId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sName", getSName())
            .append("operatingArea", getOperatingArea())
            .append("regTime", getRegTime())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("sAddress", getSAddress())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("description", getDescription())
            .append("sPhoto", getSPhoto())
            .append("rate", getRate())
            .append("sArea", getSArea())
            .append("sStatus", getSStatus())
            .append("deleted", getDeleted())
            .append("auditStatusId", getAuditStatusId())
            .toString();
    }
}
